package com.yf.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ReflectionToStringBuilder;

import java.io.Serializable;
import java.util.Date;

/**
 * 车辆事件查询表单
 *
 * @author wangbiao
 * @date 2016-08-19 10：02
 */
@ApiModel(value = "车辆事件查询表单")
public class VehicleEventForm implements Serializable{

    private static final long serialVersionUID = 4797950275629408301L;

    /**
     * 车主ID
     */
    @ApiModelProperty(name ="userId",value = "车主ID")
    private Long userId;

    /**
     *车牌
     */
    @ApiModelProperty(name ="carPlate",value = "车牌")
    private String carPlate;

    /**
     *事件状态
     */
    @ApiModelProperty(name ="eventStatus",value = "事件状态")
    private String eventStatus;

    /**
     *上报开始时间
     */
    @ApiModelProperty(name ="startTime",value = "上报开始时间")
    private Date startTime;

    /**
     *上报结束时间
     */
    @ApiModelProperty(name ="endTime",value = "上报结束时间")
    private Date endTime;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getCarPlate() {
        return carPlate;
    }

    public void setCarPlate(String carPlate) {
        this.carPlate = carPlate;
    }

    public String getEventStatus() {
        return eventStatus;
    }

    public void setEventStatus(String eventStatus) {
        this.eventStatus = eventStatus;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    @Override
    public String toString() {
        return ReflectionToStringBuilder.toString(this);
    }

}
